// import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';

import { ScrollingModule } from '@angular/cdk/scrolling';
import { TextFieldModule } from '@angular/cdk/text-field';
import { DragDropModule } from '@angular/cdk/drag-drop';
import { A11yModule } from '@angular/cdk/a11y';
import { OverlayModule } from '@angular/cdk/overlay';
// import {ClipboardModule} from '@angular/cdk/clipboard';
import { PortalModule } from '@angular/cdk/portal';
import { CdkStepperModule } from '@angular/cdk/stepper';
import { CdkTableModule } from '@angular/cdk/table';
import { CdkTreeModule } from '@angular/cdk/tree';

import { ComponentRoutingModule } from './component-routing.module';

import { ScrollingComponent } from './scrolling/scrolling.component';
import { TextFieldComponent } from './text-field/text-field.component';
import { DragDropComponent } from './drag-drop/drag-drop.component';
import { OverlayComponent } from './overlay/overlay.component';
import { MonitoringFocusComponent } from './monitoring-focus/monitoring-focus.component';
import { ClipboardComponent } from './clipboard/clipboard.component';
import { OverlayPanelComponent } from './overlay/overlay-panel.component';
import { PlatformComponent } from './platform/platform.component';
import { ComponentPortalExample, ProtalComponent } from './protal/protal.component';
import { CustomStepper, StepperComponent } from './stepper/stepper.component';
import { TableComponent } from './table/table.component';
import { TreeExampleComponent } from './tree-example/tree-example.component';

@NgModule({
  declarations: [
    ScrollingComponent,
    TextFieldComponent,
    DragDropComponent,
    OverlayComponent,
    MonitoringFocusComponent,
    ClipboardComponent,
    OverlayPanelComponent,
    PlatformComponent,
    ProtalComponent,
    ComponentPortalExample,
    StepperComponent,
    CustomStepper,
    TableComponent,
    TreeExampleComponent,
  ],
  imports: [
    // BrowserModule,
    CommonModule,
    FormsModule,
    ScrollingModule,
    TextFieldModule,
    DragDropModule,
    A11yModule,
    OverlayModule,
    PortalModule,
    CdkStepperModule,
    CdkTableModule,
    CdkTreeModule,
    ComponentRoutingModule,
  ],
  providers: [],
  entryComponents: [ OverlayPanelComponent, ComponentPortalExample, CustomStepper ], // 关闭Ivy后需要
})
export class ComponentModule { }
